home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 734 / powervisor / s / pv / ikey < prev    next >
Text File  |  1995-03-18  |  473b  |  13 lines

  1. ;Some useful pvcall examples
  2. ;Each feature described in this script file can work seperatelly, simply
  3. ;delete the other lines.
  4.  
  5. ;Install a routine so that PowerVisor restores the history line whenever
  6. ;the command is preceded with a '&'. This is useful when you want to
  7. ;execute a command a few times.
  8. pv 6 'v if(*{pv 12}.b==38,{*{pv 12}.b=32;*({pv 40}+5).b=1},0)'
  9. pv 16 'v if(*({pv 40}+5).b==1,{*{pv 12}.b=38},0)'
  10.  
  11. ;Beep if user snaps something
  12. pv 22 '{pv 24 600 20;v 1}'
  13.